
import request from '@/utils/request';
import { ResultListBanner } from './definitions/ResultListBanner';
import { ResultBanner } from './definitions/ResultBanner';


export class BannerShopApiController {

    static pageUsingGETPath: string = "/v1/shop/banner/list";

    async pageUsingGET( headers?: any) : Promise<ResultListBanner> {
      return request(`/v1/shop/banner/list`, {
        method: "GET",
        headers: headers,
      }) as Promise<any>;
    }
    
    static getUsingGETPath: string = "/v1/shop/banner/{id}";

    async getUsingGET(id: string,  headers?: any) : Promise<ResultBanner> {
      return request(`/v1/shop/banner/${id}`, {
        method: "GET",
        headers: headers,
      }) as Promise<any>;
    }
    
}